package com.itbupt.domain.strategy.service.rule.chain;

import com.itbupt.domain.strategy.service.rule.chain.factory.DefaultChainFactory;

/**
 * @Author dingchang
 * @Date 2025/3/23 15:58
 * @Description: 抽奖策略规则责任链接口
 */

public interface ILogicChain extends ILogicChainArmory {

    /**
     * 责任链接口
     * @param userId     用户ID
     * @param strategyId 策略ID
     * @return 奖品对象
     */
    DefaultChainFactory.StrategyAwardVO logic(String userId, Long strategyId);

}
